<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>支出添加</title>
<%@ include file="/pages/common/base/Head2.jsp"%>
</head>
<body>
	<div style="padding: 20px; background-color: #F2F2F2;">
		<div class="layui-col-md12">
			<div class="layui-card">
				<div class="layui-card-header">净资产：<span style="color:red;">${assets}</span>元</div>
				<div class="layui-card-body">债权：<span style="color:red;">${bondAssets}</span>元</div>
				<div class="layui-card-body">负债：<span style="color:#009688;">${liabilityAssets}</span>元</div>
			</div>
		</div>
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md6">
				<div class="layui-card">
					<div class="layui-card-header">债券账户</div>
					<div class="layui-card-body">
						<div class="layui-collapse" lay-filter="test">
							<c:forEach items="${bondAccountList}" var="item">
								<div class="layui-colla-item">
									<h2 class="layui-colla-title">${item.accountName}</h2>
									<div class="layui-colla-content">
										<p>${item.assets}元</p>
									</div>
								</div>
							</c:forEach>
						</div>
					</div>
				</div>
			</div>
			<div class="layui-col-md6">
				<div class="layui-card">
					<div class="layui-card-header">负债账户</div>
					<div class="layui-card-body">
						<div class="layui-collapse" lay-filter="test">
							<c:forEach items="${liabilityAccountList}" var="item">
								<div class="layui-colla-item">
									<h2 class="layui-colla-title">${item.accountName}</h2>
									<div class="layui-colla-content">
										<p>${item.assets}元</p>
									</div>
								</div>
							</c:forEach>
						</div>
					</div>
				</div>
			</div>
		</div>
		<fieldset class="layui-elem-field layui-field-title">
		  <legend>5万存款完成度</legend>
		</fieldset>
		<div class="layui-progress layui-progress-big" lay-showPercent="true">
		  <div class="layui-progress-bar layui-bg-blue" lay-percent="${goal1}%"></div>
		</div>
		<fieldset class="layui-elem-field layui-field-title" >
		  <legend>10万存款完成度</legend>
		</fieldset>
		<div class="layui-progress layui-progress-big" lay-showPercent="true">
		  <div class="layui-progress-bar layui-bg-red" lay-percent="${goal2}%"></div>
		</div>
	</div>
</body>
</html>